<template>
  <div class="mapContent" style="color: #fff;">
    <el-card>
      <el-page-header @back="router.back()">
        <template #content>
          <span class="text-large font-600 mr-3" style="color: #fff;"> {{ route.query.title }} </span>
        </template>
      </el-page-header>
    </el-card>
    <div class="mapMain">
      <thMap
        width="350px"
        height="500px"
      >
      </thMap>
    </div>
  </div>
</template>

<script setup lang="ts">
import { ref, onMounted } from 'vue'
import { useRoute, useRouter } from 'vue-router'

const route = useRoute()
const router = useRouter()

onMounted(() => {})

</script>

<style lang="scss" scoped>
.mapContent {
  width: 100%;
  .el-card {
    border-radius: $base-card-border-radius;
  }
  .mapMain {
    width: 100%;
    height: 80vh;
    margin-top: 50px;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
  }

}
</style>